<?php
	class Acc1 {
		private $accounts;
		public $name;
	}

	class Accounts{
		private $acc=array();

		public function addAcc1($name,$no) {
		$this->acc[$no] = $name;
		}

	public function getAcc1($no) {
			
		return $this->acc[$no];
		}
	public function removeACC($no) {
		unset($this->acc[$no]);
		}

}

	$accounts = new Accounts();
	
	$account = new Acc1();
		$account->name = "Ivan";
		$account->balans = "123";
		$accounts->addAcc1($account, "533");
	
	$account1 = new Acc1();
		$account1->name = "Silviq";
		$account1->balans = "2111";
		$accounts->addAcc1($account1, "12");
		
		
		
	$ivanAcc = $accounts->getAcc1("533");
		$draw=$ivanAcc->balans - 13;
		echo $draw ;




?>
